package com.mszlu.blog.dao.pojo;

/**
 * @Package: com.mszlu.blog.dao.pojo
 * @ClassName: Banned
 * @Author: 陈威
 * @CreateTime: 2022/3/24 15:28
 * @Description:
 */

public class Banned {
    private Long id;

    private String account;

    private String reason;
    private String operation;
    /**
     * 创建时间
     */
    private Long createDate;
    private Integer bannedType;
    private Long bannedCode;
    private Long uid;

    public Banned() {
    }

    public Banned(Long id, String account, String reason, String operation, Long createDate, Integer bannedType, Long bannedCode, Long uid) {
        this.id = id;
        this.account = account;
        this.reason = reason;
        this.operation = operation;
        this.createDate = createDate;
        this.bannedType = bannedType;
        this.bannedCode = bannedCode;
        this.uid = uid;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public Long getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Long createDate) {
        this.createDate = createDate;
    }

    public Integer getBannedType() {
        return bannedType;
    }

    public void setBannedType(Integer bannedType) {
        this.bannedType = bannedType;
    }

    public Long getBannedCode() {
        return bannedCode;
    }

    public void setBannedCode(Long bannedCode) {
        this.bannedCode = bannedCode;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "Banned{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", reason='" + reason + '\'' +
                ", operation='" + operation + '\'' +
                ", createDate=" + createDate +
                ", bannedType=" + bannedType +
                ", bannedCode=" + bannedCode +
                ", uid=" + uid +
                '}';
    }
}